//
//  MUPushManager.h
//  u_push_plugin
//
//  Created by yunxi on 2020/9/8.
//

#import <Foundation/Foundation.h>
#import <Flutter/Flutter.h>

NS_ASSUME_NONNULL_BEGIN

@interface MUPushManager : NSObject

//channel: 渠道标识,可设置nil表示"App Store"
+ (void)UMInit:(NSDictionary *_Nullable)launchOptions appkey:(NSString *)appkey channel:(NSString *)channel logEnabled:(BOOL)logEnabled pushEnabled:(BOOL)pushEnabled;

+ (void)UMInitWithMethodCall:(FlutterMethodCall *)call result:(FlutterResult)result;
//添加tags
+ (void)addTags:(NSArray<NSString *> *)tags result:(FlutterResult)result;
//删除tags
+ (void)deleteTags:(NSArray<NSString *> *)tags result:(FlutterResult)result;
//获取设备tags
+ (void)getTagsResult:(FlutterResult)result;
//添加别名
+ (void)addAlias:(NSString *)Alias type:(NSString *)type result:(FlutterResult)result;
//移除别名
+ (void)removeAlias:(NSString*)Alias type:(NSString *)type result:(FlutterResult)result;
//绑定一个别名至设备（含账户，和平台类型）,并解绑这个别名曾今绑定过的设备。
+ (void)setAlias:(NSString*)Alias type:(NSString *)type result:(FlutterResult)result;
//设置是否打印
+ (void)setLogEnabled:(BOOL)logEnabled;
//设置是否开启自动清空角标（默认开）
+ (void)setBadgeClear:(BOOL)debgeClear;

+ (void)deleteTags:(NSArray<NSString *> *)tags result:(FlutterResult)result;

+ (void)addAlias:(NSString *)Alias type:(NSString *)type result:(FlutterResult)result;

+ (void)removeAlias:(NSString *)Alias type:(NSString *)type result:(FlutterResult)result;

+ (void)setAlias:(NSString *)Alias type:(NSString *)type result:(FlutterResult)result;

+ (void)setBadgeClear:(BOOL)debgeClear;
@end

NS_ASSUME_NONNULL_END
